<%@ page import="java.io.*, java.text.*, java.util.Date, java.sql.*, javax.servlet.*, javax.servlet.http.*, java.util.*" %>

<%
String usernameSC = (String) session.getAttribute("admin");
if(usernameSC == null)
    usernameSC = (String) session.getAttribute("ProfID");

if(usernameSC == null)
	out.println("<script>alert('your session is expired');window.close()</script>");
%>

<html>
<HEAD>
	<TITLE>Upload Image</TITLE>
	<link rel='stylesheet' href='style.css' type='text/css' media='screen' />
</HEAD>

<BODY>
	<FORM NAME='form1' METHOD='POST' ACTION='uploadProc.jsp' ENCTYPE='multipart/form-data'>
		<INPUT TYPE='FILE' NAME='file'/><BR><INPUT TYPE='SUBMIT' VALUE='Upload'/>
		<INPUT TYPE='RESET' VALUE='Reset'>
	</FORM>
</BODY>
</HTML>
